<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
	<%@ include file="/common/taglibs.jsp"%>
	<title>冬夏令时设置</title>
	<%@ include file="/common/meta.jsp"%>
	<link href="${ctx }/assets/css/bootstrap-tree.css" rel="stylesheet" type="text/css"/>
	<link href="${ctx }/assets/css/jsTree/style.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<!-- begin #page-container -->
	<div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
		<!-- #header -->
		<%@ include file="/common/header.jsp"%>
		<!-- #slider -->
		<%@ include file="/common/slider.jsp"%>

		<!-- begin #content -->
		<div id="content" class="content" style="padding-top:20px">
			<!-- begin row -->
			<div class="row">
				<!-- begin col-8 -->
				<div class="col-md-12">
					<div class="panel panel-inverse">
						<div class="panel-heading">
							<form class="form-horizontal" id="searchForm" name="searchForm">
								<div class="">
									<div class="row">
										<div class="col-md-3">
											<div class="p-b-20">
												<label class="col-md-4 control-label ui-sortable">状态：</label>
												<div class="col-md-8 ui-sortable">
													<select class="form-control">
														<option>全部</option>
														<option>启用</option>
														<option>未启用</option>
													</select>	
												</div>										
											</div>
										</div>
										<div class="col-md-3">
											<div class="p-b-20">
												<label class="col-md-8 control-label ui-sortable">名称：</label>
												<div class="col-md-8 ui-sortable">
													<input type="text" class="form-control" name="name" placeholder="输入名称，模糊查询" />
												</div>												
											</div>
										</div>
										<div class="col-md-2">
											<shiro:hasPermission name="dictionary:list:search">
												<button id="searchBtn" name="searchBtn" type="button" class="btn btn-success btn-sm m-r-5 m-b-5" title="<fmt:message key='public.button_search'/>">
												<fmt:message key="public.button_search"/></button>
											</shiro:hasPermission>
										</div>
									</div>
								</div>	
							</form>
						</div>
						<div class="panel-body">
							<table id="abnormalClockListTable" class="table table-striped table-bordered table-hover">
								<thead>
									<tr>
										<th><fmt:message key="public.list.index"/></th>
										<th>操作</th>
										<th>名称</th>
										<th>上班时间</th>
										<th>下班时间</th>
										<th>创建时间</th>
										<th>操作员</th>
									</tr>
								</thead>
								<tbody>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
			<!-- end row -->
		</div>
		<!-- end #content -->
	</div>
	<!-- end page container -->
	
	<div class="modal fade" id="addDlg" name="addDlg">
		<div class="modal-dialog">
			<form id="addForm" name="addForm" action="#" class="form-horizontal">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
						<h4 class="modal-title"></h4>
					</div>
					<div class="modal-body">
						<div class="form-group hidden">
	                        <label class="col-md-3 control-label ui-sortable">工号<span class="required">*</span></label>
	                        <div class="col-md-9 ui-sortable">
								<input type="text" id="emplId" name="emplId" class="form-control" style="width: 80%"/>
	                        </div>
                    	</div>
						<div class="form-group">
	                        <label class="col-md-3 control-label ui-sortable">考勤时间<span class="required">*</span></label>
	                        <div class="col-md-9 ui-sortable">
								<input type="text" id="clockTime" name="clockTime" class="form-control" style="width: 80%"/>
	                        </div>
                    	</div>
						<div class="form-group">
	                        <label class="col-md-3 control-label ui-sortable">考勤地点<span class="required">*</span></label>
	                        <div class="col-md-9 ui-sortable">
								<input type="text" id="clockPlace" name="clockPlace" class="form-control" style="width: 80%"/>
	                        </div>
                    	</div>
					</div>
					<div class="modal-footer-dialog">
						<a href="javascript:;" class="btn btn-sm btn-default" data-dismiss="modal"><fmt:message key="public.button_close"/></a>
						<button type="button" class="btn btn-sm btn-primary" id="addFormBtn"><fmt:message key="public.button_save"/></button>
					</div>
				</div>
			</form>
		</div>
	</div>
	<%@ include file="/common/groupUser.jsp"%>
	<%@ include file="/common/footer.jsp"%>
	<!-- BEGIN PAGE LEVEL SCRIPTS -->
	<script src="${ctx}/assets/js/bootstrap-tree.js"></script>
	<script src="${ctx}/assets/js/jstree/dist/jstree.min.js"></script>
	<script src="${ctx}/assets/js/ui-tree.js"></script>
	<script src="${ctx}/assets/js/jquery.dataTables.js"></script>
	<script src="${ctx}/assets/js/DT_bootstrap.js"></script>
	<script src="${ctx}/assets/js/jquery.datetimepicker.js"></script>
	
	<script src="${ctx}/js/common/groupUsers.js?v=${ver}"></script>
	<script type="text/javascript" src="${ctx}/js/exceptionAttendance/abnormalClock.js?v=${ver}"></script> 
	<!-- END PAGE LEVEL SCRIPTS -->
	<script type="text/javascript">
		jQuery(document).ready(function() { 
			GroupUsers.init();
			AbnormalClock.init();
		});
	</script>
</body>
</html>